
#ifndef _UPDATE_H_
#define _UPDATE_H_

#include "basic_datatype.h"


#define UPDATE_INFO_FILE    "/data/updatecjzflag.ini"
#define UPDATE_FILE    "/data/update.bin"
#define STR_FILE "file"
#define STR_FLAG  "flag"
#define STR_MD5  "md5"

#define CFG_UPDATE_INFO_FILE "/data/cfgupdateflag.ini"
#define CFGUPDATE_FILE    "/data/cfgupdate.bin"
#define CFGUPDATE_FILEPATH "/data/cfgupdate"

#define CJZ_CFG_UPDATE_PATH "/data/cfgupdate/cjz"
#define REC_CFG_UPDATE_PATH "/data/cfgupdate/lt"

#define CJZ_CFG_STR_CLOUD "cloud"

#define CJZ_CFG_STR_NTP "ntp"

#define LT_CFG_STR_MICNUM  "micnum"
#define LT_CFG_STR_ORI_AUDIO  "ori_audio"
#define LT_CFG_STR_AUDIO_TYPE  "audio_type"
#define LT_CFG_STR_SN  "sn"
#if 1
#define PATH_DATA_WHOLEUPDATE "/data/wholeupdate"

#define PATH_DATA_WHOLEUPDATE_FIRMWARE "/data/wholeupdate/firmware"

#define ZIPFILE_FIRMWARE_UPDATE "/data/wholeupdate/cjzkzwupdate.zip"

#define FILE_CJZ_FM_README "/data/wholeupdate/firmware/cjzver.ini"
#define FILE_CJZ_FM_BIN "/data/wholeupdate/firmware/cjz3update.bin"

#define FILE_KZW_FM_README "/data/wholeupdate/firmware/kzwver.ini"
#define FILE_KZW_FM_BIN "/data/wholeupdate/firmware/kzw3update.bin"


#define PATH_DATA_WHOLEUPDATE_CFG "/data/wholeupdate/cfg"
#define ZIPFILE_CFG_UPDATE "/data/wholeupdate/cjzkzwcfg.zip"

#define FILE_CJZ_CFG_README "/data/wholeupdate/cfg/cjzver.ini"
#define FILE_CJZ_CFG_BIN "/data/wholeupdate/cfg/cjz3cfg.ini"

#define FILE_KZW_CFG_README "/data/wholeupdate/cfg/kzwver.ini"
#define FILE_KZW_CFG_BIN "/data/wholeupdate/cfg/kzwcfg.ini"
#endif
#endif


